var express = require('express');
var router = express.Router();
let product = require('../contorllers/productController')
let pruductType = require('../contorllers/productTypeController')
/* GET home page. */
router.post('/list', product.getSoftwareList);
router.post('/add',product.addSoftwareList)
router.post('/update',product.editSoftware)
router.post('/delete',product.deleteSoftware)
router.post('/type',pruductType.getSoftwareType)
router.post('/detail',product.getSoftwareDetail)
module.exports = router;
